﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace KMFrame.Permission.Util
{
    /// <summary>
    /// 储存在Session中的已登录会员的基本信息。
    /// </summary>
    [Serializable]
    public class UserSession
    {
        /// <summary>
        /// 初始化用户登录Session
        /// </summary>
        /// <param name="_loginId">用户ID</param>
        /// <param name="_loginname">用户名</param>
        /// <param name="_roleid">角色ID</param>
        /// <param name="_groupid">分组ID</param>
        /// <param name="_islimit">是否授权限限制</param>
        /// <param name="_status">用户状态</param>
        public UserSession(int _userid, string _username, System.Guid _userguid)
        {
            this.UserID = _userid;
            this.UserName = _username;
            this.UserGUID = _userguid;
        }

        public int UserID;
        public string UserName;
        public System.Guid UserGUID;
    }
}
